import React from 'react';

class YellowTitle extends React.Component {
    constructor(props) {
        super(props);
        this.displayName = 'YellowTitle';
        this.state = {
            title: props.title
        }
    }
    render() {
        return (
            <p className="yellowTitle"> {this.state.title} </p>
        );
    }
}

export default YellowTitle;
